package com.ccb.jyzx.expand.ouapi.dao.ouapi;

import com.ccb.jyzx.expand.ouapi.beans.DutyInfo;
import com.ccb.jyzx.expand.ouapi.beans.sync.DutyInfoSync;
import com.ccb.jyzx.expand.ouapi.beans.sync.UserInfoSync;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author XIEFEI
 * @date 2019-11-13 14:12
 * @Description
 **/
public interface DutyInfoDao {
    DutyInfo getById(@Param("id") String id);

    List<DutyInfo> getAll();

    List<DutyInfo> getByDepId(@Param("depId")String depId);

    List<DutyInfoSync> getAllSync();

    void save(DutyInfoSync dutyInfoSync);

    void update(DutyInfoSync dutyInfoSync);

    void deleteById(@Param("id")String id);
}
